const Resh = require('@ppzp/resh')
const Context = require('./context')

const app = new Resh({
  Context
})

app.controller.setChildren([
  require('./user')
])

app.start(8080, () => {
  console.log('服务器已启动，页面地址：http://localhost:8080/assets/index.html')
})